package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallServiceSettleadjustmentGetSettleAdjustmentResponse struct {
	/*
	   comments     */
	Comments *string `json:"comments,omitempty" `

	/*
	   cost，单位分     */
	Cost *int64 `json:"cost,omitempty" `

	/*
	   description     */
	Description *string `json:"description,omitempty" `

	/*
	   gmtCreate     */
	CreateTime *util.LocalTime `json:"create_time,omitempty" `

	/*
	   gmtModified     */
	ModifiedTime *util.LocalTime `json:"modified_time,omitempty" `

	/*
	   id     */
	Id *int64 `json:"id,omitempty" `

	/*
	   pictureUrls，多条已冒号分隔     */
	PictureUrls *string `json:"picture_urls,omitempty" `

	/*
	   priceFactors     */
	PriceFactors *string `json:"price_factors,omitempty" `

	/*
	   serviceOrderId     */
	ServiceOrderId *int64 `json:"service_order_id,omitempty" `

	/*
	   工单ID     */
	WorkcardId *int64 `json:"workcard_id,omitempty" `

	/*
	   调整单状态 待商家确认:1, 商家已确认:2,  待小二判定:3,  小二判定有效:4,  小二判定无效:5,  小二无法判定:6, 服务商取消:7, 超时确认:8, 完成:9     */
	Status *int64 `json:"status,omitempty" `

	/*
	   调整单类型     */
	Type *int64 `json:"type,omitempty" `
}

func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetComments(v string) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.Comments = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetCost(v int64) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.Cost = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetDescription(v string) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.Description = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetCreateTime(v util.LocalTime) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.CreateTime = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetModifiedTime(v util.LocalTime) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.ModifiedTime = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetId(v int64) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.Id = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetPictureUrls(v string) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.PictureUrls = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetPriceFactors(v string) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.PriceFactors = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetServiceOrderId(v int64) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.ServiceOrderId = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetWorkcardId(v int64) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.WorkcardId = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetStatus(v int64) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.Status = &v
	return s
}
func (s *TmallServiceSettleadjustmentGetSettleAdjustmentResponse) SetType(v int64) *TmallServiceSettleadjustmentGetSettleAdjustmentResponse {
	s.Type = &v
	return s
}
